import { $get, $post } from "@/http/request.js"

export function postTodoCreate(params) {
  return $post("/blog/todo/create", params)
}

export function getTodoList(params) {
  return $get("/blog/todo/list", params)
}

export function postTodoDelete(params) {
  return $post("/blog/todo/delete", params)
}

export function postTodoUpdateState(params) {
  return $post("/blog/todo/updateState", params)
}